A Polynomial Parser for Contextual Grammars with Linear, Regular and Context{Free Selectors

نویسنده

  • Karin Harbusch
چکیده

Contextual Grammars were introduced by Solomon Marcus in 1969 as \intrinsic grammars" without auxiliary symbols, based only on the fundamental linguistic operation of inserting words into given phrases according to certain contextual dependencies. The formal properties of the formalism have been extensively studied. Furthermore, it can be shown that this formalism provides an appropriate description of natural languages. But unfortunately, up to now no parser which runs in polynomial time was known for some linguistically relevant classes of Contextual Grammar. In the following, an intertwined two{level Earley{ based parser is presented for Contextual Grammars with nite, regular or context{free selectors on the basis of the three derivation deenitions in, Mg and Ml, i.e. the unrestricted replacement of contexts according to a selector, only allowing the replacement of maximal selectors according to all selectors or according to the same selector. The individual two passes can be characterized as follows. In the rst phase, all contexts to the left and right of its selector and all selector strings in a given input string are identiied and stored in items denoting the left and right boundary of the analysed input. These fragments are used in the second phase in order to check the context{free rules (sel i ?! The two phases are intertwined by repeatingly predicting new contexts and selectors for each removed context in the input string and accordingly identifying new context{selector pairs. Here it is important to note that the newly provided input reuses all currently produced items. The algorithm accepts ii in the item list I n (n = length of the input string)

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Parsing Contextual Grammars with Linear, Regular and Context-Free Selectors

Contextual Grammars (CGs) provide an appropriate description of natural languages. Unfortunately, no parser which runs in polynomial time was known for some linguistically relevant classes. In this paper, an intertwined two–level Earley–based parser for CGs with finite, regular and context–free selectors is presented. In both phases context–free grammars are defined which identify individual se...

متن کامل

An Online Parser for Contextual Grammars with Context–Free Selectors

Here we describe the linguistic relevance of Contextual Grammars with Context–Free Selectors. They allow the simple representation of many non–context–free phenomena such as the copy language. Up to now, this specific type of selector has hardly ever been addressed because even for simpler types no efficient parsing algorithms were known. In this paper, we describe a new polynomial parser for a...

متن کامل

Polynomial Parsing of Contextual Grammars with Linear, Regular and Context–Free Selectors

In this paper, an intertwined two–level Earley–based parser is presented for some linguistically relevant classes of Contextual Grammars. The pure acceptor's space complexity is O(n 4) and its run time is O(n 6) according to the unrestricted recursion definition. With respect to maximal selectors, the space and time complexity runs up to O(n 6) and O(n 9), respectively. The same holds for the c...

متن کامل

Contextual Grammars as Generative Models of Natural Languages

The paper discusses some classes of contextual grammars--mainly those with "maximal use of selectors"--giving some arguments that these grammars can be considered a good model for natural language syntax. A contextual grammar produces a language starting from a finite set of words and iteratively adding contexts to the currently generated words, according to a selection procedure: each context ...

متن کامل

Studying impressive parameters on the performance of Persian probabilistic context free grammar parser

In linguistics, a tree bank is a parsed text corpus that annotates syntactic or semantic sentence structure. The exploitation of tree bank data has been important ever since the first large-scale tree bank, The Penn Treebank, was published. However, although originating in computational linguistics, the value of tree bank is becoming more widely appreciated in linguistics research as a whole. F...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999